#!/usr/bin/expect -f

set timeout 600

spawn scp /mnt/datadisk4/CASP9/$argv.fasta hjwu@192.168.150.31:/mnt/sda5/CASP9
expect "*?assword:*"
send "11111\r"  
expect eof